package com.lh.biz.dto.in.user;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.lh.biz.dto.BaseInDto;

/**
 * @author liuhui
 * @version 1.0
 * @date 2013-5-4 下午4:43:29
 */
public class ResetPasswordInDto extends BaseInDto {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5406403386158621195L;

	@NotNull
	private Long id;
	@NotNull
	private String token;
	@NotBlank
	@Size(min=6,max=20)
	private String password;
	@NotBlank
	@Size(min=6,max=20)
	private String password2;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword2() {
		return password2;
	}
	public void setPassword2(String password2) {
		this.password2 = password2;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	
	

}
